import React, { Component, Fragment } from 'react'
import { Link } from 'react-router-dom'
import { connect } from 'react-redux'
import withStyle from '../../withStyle'
import styles from './styles.less'

class Header extends Component {

	render() {
		// console.log(this.props.login)
		return (
			<div className={styles.footer}>
				<div className={styles.top}>
					<p>
						<span>博客内容遵循<a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh">知识共享 署名 - 非商业性 - 相同方式共享 4.0 国际协议</a></span>
					</p>
				</div>
				<div className={styles.bottom}>
					<p>
						<span>YMBo © 2017 - 2018</span>
	        </p>
				</div>
			</div>
		)
	}
}



export default connect(null, null)(withStyle(Header, styles))